package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.StoreContractGift;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2024-12-04
 */
public interface StoreContractGiftService extends IService<StoreContractGift> {

    void deleteByIdsNotIn(Long contractId, List<Long> ids);

    List<StoreContractGift> listByContractIdIn(List<Long> contractIds);

    List<StoreContractGift> listByContractId(Long id);

    boolean setGiftDone(Long giftId, Integer status, String partRemark, String remark);

    void deleteByContract(Long contractId);
}
